package com.example.andrd_ado_vdo_tkbk_demo;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.AudioManager;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.SeekBar;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;

import java.io.File;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Map;

import HeavenTao.Data.*;
import HeavenTao.Media.*;
import HeavenTao.TinyXml2.*;

//主界面。
public class AndrdAdoVdoTkbkStng
{
	//保存设置到Xml文件。
	public static void SaveStngToXmlFile( MainAct MainActPt )
	{
		XMLDocument p_XMLDocumentPt = new XMLDocument();
		XMLElement p_StngXMLElementPt = new XMLElement();
		XMLElement p_TmpXMLElement1Pt = new XMLElement();
		XMLElement p_TmpXMLElement2Pt = new XMLElement();
		XMLElement p_TmpXMLElement3Pt = new XMLElement();

		Out:
		{
			p_XMLDocumentPt.Init();

			p_XMLDocumentPt.NewElement( p_StngXMLElementPt, "Stng" );
			p_XMLDocumentPt.InsertEndChild( p_StngXMLElementPt );

			//主布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "Main" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SrvrUrl" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				for( Map< String, String > p_ClntLstItemPt : MainActPt.m_ClntLstItemArrayLstPt )
				{
					p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "ClntLstItem" );
					p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

					p_XMLDocumentPt.NewElement( p_TmpXMLElement3Pt, "Prtcl" );
					p_TmpXMLElement3Pt.SetText( p_ClntLstItemPt.get( "CnctAndClntLstItemPrtclTxtId" ) );
					p_TmpXMLElement2Pt.InsertEndChild( p_TmpXMLElement3Pt );

					p_XMLDocumentPt.NewElement( p_TmpXMLElement3Pt, "RmtNodeName" );
					p_TmpXMLElement3Pt.SetText( p_ClntLstItemPt.get( "CnctAndClntLstItemRmtNodeNameTxtId" ) );
					p_TmpXMLElement2Pt.InsertEndChild( p_TmpXMLElement3Pt );

					p_XMLDocumentPt.NewElement( p_TmpXMLElement3Pt, "RmtNodeSrvc" );
					p_TmpXMLElement3Pt.SetText( p_ClntLstItemPt.get( "CnctAndClntLstItemRmtNodeSrvcTxtId" ) );
					p_TmpXMLElement2Pt.InsertEndChild( p_TmpXMLElement3Pt );
				}

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseAdoInptTkbkMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoInptTkbkModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseAdoOtptTkbkMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoOtptTkbkModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseVdoInptTkbkMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoInptTkbkModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseVdoOtptTkbkMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoOtptTkbkModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoOtptDvc" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseSpeakerRdBtnId ) ).isChecked() ) ? "Speaker" : "Headset" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoInptDvc" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseFrontCamereRdBtnId ) ).isChecked() ) ? "FrontCamere" : "BackCamere" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoInptIsMute" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoInptIsMuteCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoOtptIsMute" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoOtptIsMuteCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoInptIsBlack" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoInptIsBlackCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoOtptIsBlack" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoOtptIsBlackCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsDrawAdoWavfm" ); //这里不加"ToSurface"是为了与Windows端的"ToWnd"保持一致。
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.IsDrawAdoWavfmToSurfaceCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//服务端设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SrvrStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "MaxCnctNum" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SrvrStngLyotViewPt.findViewById( R.id.MaxCnctNumEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//客户端设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "ClntStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "XfrMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.UsePttRdBtnId ) ).isChecked() ) ? "Ptt" : "Rt" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "MaxCnctTimes" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.MaxCnctTimesEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsReferRmtTkbkModeSetTkbkMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.IsReferRmtTkbkModeSetTkbkModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "Stng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseWhatEffect" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectLowRdBtnId ) ).isChecked() ) ? "Low" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectMidRdBtnId ) ).isChecked() ) ? "Mid" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectHighRdBtnId ) ).isChecked() ) ? "High" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectSuperRdBtnId ) ).isChecked() ) ? "Super" : "Premium" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseWhatAecTend" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendEchoCnclRdBtnId ) ).isChecked() ) ? "EchoCncl" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendDblTalkRdBtnId ) ).isChecked() ) ? "DblTalk" : "EchoCncl" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseDebugInfo" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseDebugInfoCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseWhatRecvOtptFrm" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseCntnrRecvOtptFrmRdBtnId ) ).isChecked() ) ? "Cntnr" : "Ajb" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseFrgndSrvc" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseFrgndSrvcCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveStsToTxtFile" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveStsToTxtFileCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsPrintLogShowToast" ); //这里不加"Logcat"是为了与Windows端的"Log"保持一致。
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsPrintLogcatShowToastCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseWakeLock" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseWakeLockCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "TstNtwkDly" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsTstNtwkDlyCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveAdoVdoInptOtptToAviFile" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoVdoInptOtptToAviFileCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoSmplRate" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate8000RdBtnId ) ).isChecked() ) ? "8000" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate16000RdBtnId ) ).isChecked() ) ? "16000" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate32000RdBtnId ) ).isChecked() ) ? "32000" : "48000" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoFrmLen" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen10msRdBtnId ) ).isChecked() ) ? "10" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).isChecked() ) ? "20" : "30" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsStartRecordingAfterRead" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsStartRecordingAfterReadCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseSystemAecNsAgc" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseWhatAec" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseNoAecRdBtnId ) ).isChecked() ) ? "NoAec" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexAecRdBtnId ) ).isChecked() ) ? "SpeexAec" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecmRdBtnId ) ).isChecked() ) ? "WebRtcAecm" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecRdBtnId ) ).isChecked() ) ? "WebRtcAec" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAec3RdBtnId ) ).isChecked() ) ? "WebRtcAec3" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexWebRtcAecRdBtnId ) ).isChecked() ) ? "SpeexWebRtcAec" : "SpeexWebRtcAec" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseWhatNs" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseNoNsRdBtnId ) ).isChecked() ) ? "NoNs" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexPrpocsNsRdBtnId ) ).isChecked() ) ? "SpeexPrpocsNs" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcNsxRdBtnId ) ).isChecked() ) ? "WebRtcNsx" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcNsRdBtnId ) ).isChecked() ) ? "WebRtcNs" : "RNNoise" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseSpeexPrpocs" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoUseWhatCodec" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UsePcmRdBtnId ) ).isChecked() ) ? "Pcm" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).isChecked() ) ? "SpeexCodec" : "OpusCodec" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveAdoInptOtptToWaveFile" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoInptOtptToWaveFileCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoSmplRate" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate12RdBtnId ) ).isChecked() ) ? "12" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate15RdBtnId ) ).isChecked() ) ? "15" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate24RdBtnId ) ).isChecked() ) ? "24" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate30RdBtnId ) ).isChecked() ) ? "30" : "24" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "UseWhatVdoFrmSz" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).isChecked() ) ? "Prset" : "Other" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoFrmSzPrset" );
				p_TmpXMLElement2Pt.SetText( ( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).getSelectedItem().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoFrmSzOtherWidth" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzOtherWidthEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoFrmSzOtherHeight" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzOtherHeightEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "ScreenRotate" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).isChecked() ) ? "Auto" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate0RdBtnId ) ).isChecked() ) ? "0" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate90RdBtnId ) ).isChecked() ) ? "90" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate180RdBtnId ) ).isChecked() ) ? "180" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate270RdBtnId ) ).isChecked() ) ? "270" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VdoUseWhatCodec" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseYu12RdBtnId ) ).isChecked() ) ? "Yu12" :
											( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).isChecked() ) ? "OpenH264Codec" : "SystemH264Codec" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//自适应抖动缓冲器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "AjbStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AAjbMinNeedBufFrmCnt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMinNeedBufFrmCntEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AAjbMaxNeedBufFrmCnt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMaxNeedBufFrmCntEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AAjbMaxCntuLostFrmCnt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMaxCntuLostFrmCntEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AAjbAdaptSensitivity" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbAdaptSensitivityEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VAjbMinNeedBufFrmCnt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbMinNeedBufFrmCntEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VAjbMaxNeedBufFrmCnt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbMaxNeedBufFrmCntEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VAjbAdaptSensitivity" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbAdaptSensitivityEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//保存状态到Txt文件设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SaveStsToTxtFileStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "FullPath" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveStsToTxtFileStngLyotViewPt.findViewById( R.id.SaveStsToTxtFileFullPathEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//保存音视频输入输出到Avi文件设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SaveAdoVdoInptOtptToAviFileStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "FullPath" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileFullPathEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WrBufSzByt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileWrBufSzBytEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "MaxStrmNum" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileMaxStrmNumEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveAdoInpt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoInptCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveAdoOtpt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoOtptCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveVdoInpt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoInptCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveVdoOtpt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoOtptCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//Speex声学回音消除器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SpeexAecStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "FilterLenMsec" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseRec" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "EchoMutp" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "EchoCntu" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "EchoSupes" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "EchoSupesAct" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//WebRtc定点版声学回音消除器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "WebRtcAecmStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseCNGMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "EchoMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "Delay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//WebRtc浮点版声学回音消除器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "WebRtcAecStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "EchoMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "Delay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseDelayAgstcMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseExtdFilterMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseRefinedFilterAdaptAecMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseAdaptAdjDelay" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//WebRtc第三版声学回音消除器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "WebRtcAec3Stng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "Delay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//SpeexWebRtc三重声学回音消除器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SpeexWebRtcAecStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WorkMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmRdBtnId ) ).isChecked() ) ? "SpeexAecWebRtcAecm" :
											( ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeWebRtcAecmWebRtcAecRdBtnId ) ).isChecked() ) ? "WebRtcAecmWebRtcAec" :
											( ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAecRdBtnId ) ).isChecked() ) ? "SpeexAecWebRtcAecmWebRtcAec" :
											( ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeWebRtcAecmWebRtcAec3RdBtnId ) ).isChecked() ) ? "WebRtcAecmWebRtcAec3" :
											( ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAec3RdBtnId ) ).isChecked() ) ? "SpeexAecWebRtcAecmWebRtcAec3" : "SpeexAecWebRtcAecmWebRtcAec3" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexAecFilterLenMsec" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexAecIsUseRec" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexAecEchoMutp" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexAecEchoCntu" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexAecEchoSupes" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexAecEchoSupesAct" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecmIsUseCNGMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecmEchoMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecmDelay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecEchoMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecDelay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecIsUseDelayAgstcMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecIsUseExtdFilterMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecIsUseRefinedFilterAdaptAecMode" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAecIsUseAdaptAdjDelay" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WebRtcAec3Delay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseSameRoomAec" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SameRoomEchoMinDelay" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//Speex预处理器的噪音抑制设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SpeexPrpocsNsStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseNs" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "NoiseSupes" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseDereverb" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//WebRtc定点版噪音抑制器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "WebRtcNsxStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "PolicyMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//WebRtc浮点版噪音抑制器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "WebRtcNsStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "PolicyMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//Speex预处理器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SpeexPrpocsStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseVad" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VadProbStart" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "VadProbCntu" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsUseAgc" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AgcLevel" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AgcIncrement" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AgcDecrement" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AgcMaxGain" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//Speex编解码器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SpeexCodecStng" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexEncdUseCbrOrVbr" );
				p_TmpXMLElement2Pt.SetText( ( ( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseCbrRdBtnId ) ).isChecked() ) ? "Cbr" : "Vbr" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexEncdQualt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexEncdCmplxt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexEncdPlcExptLossRate" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SpeexDecdIsUsePrcplEnhsmt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//保存音频到Wave文件设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SaveAdoInptOtptToWaveFile" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveAdoInpt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoInptCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoInptSrcFullPath" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoInptSrcFullPathEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoInptRsltFullPath" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoInptRsltFullPathEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "IsSaveAdoOtpt" );
				p_TmpXMLElement2Pt.SetText( ( ( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoOtptCkBoxId ) ).isChecked() ) ? "1" : "0" );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "AdoOtptSrcFullPath" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoOtptSrcFullPathEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "WrBufSzByt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileWrBufSzBytEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//OpenH264编解码器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "OpenH264Codec" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "OpenH264EncdVdoType" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "OpenH264EncdEncdBitrate" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "OpenH264EncdBitrateCtrlMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "OpenH264EncdIDRFrmIntvl" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "OpenH264EncdCmplxt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			//系统自带H264编解码器设置布局。
			{
				p_XMLDocumentPt.NewElement( p_TmpXMLElement1Pt, "SystemH264Codec" );
				p_StngXMLElementPt.InsertEndChild( p_TmpXMLElement1Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SystemH264EncdEncdBitrate" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SystemH264EncdBitrateCtrlMode" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SystemH264EncdIDRFrmIntvl" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );

				p_XMLDocumentPt.NewElement( p_TmpXMLElement2Pt, "SystemH264EncdCmplxt" );
				p_TmpXMLElement2Pt.SetText( ( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).getText().toString() );
				p_TmpXMLElement1Pt.InsertEndChild( p_TmpXMLElement2Pt );
			}

			if( p_XMLDocumentPt.SaveFile( MainActPt.m_ExternalDirFullAbsPathStrPt + "/Stng.xml" ) == 0 )
			{
				String p_InfoStrPt = "保存设置到Stng.xml文件成功。";
				Log.i( MainActPt.m_CurClsNameStrPt, p_InfoStrPt );
				MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ShowLog, p_InfoStrPt );
				Toast.makeText( MainActPt, p_InfoStrPt, Toast.LENGTH_SHORT ).show();
			}
			else
			{
				String p_InfoStrPt = "保存设置到Stng.xml文件失败。";
				Log.e( MainActPt.m_CurClsNameStrPt, p_InfoStrPt );MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ShowLog, p_InfoStrPt );
				Toast.makeText( MainActPt, p_InfoStrPt, Toast.LENGTH_SHORT ).show();
			}
		}

		p_XMLDocumentPt.Dstoy();
	}

	//从Xml文件读取设置。
	public static void ReadStngFromXmlFile( MainAct MainActPt )
	{
		XMLDocument p_XMLDocumentPt = new XMLDocument();
		XMLElement p_StngXMLElementPt = new XMLElement();
		XMLElement p_TmpXMLElement1Pt = new XMLElement();
		XMLElement p_TmpXMLElement2Pt = new XMLElement();
		XMLElement p_TmpXMLElement3Pt = new XMLElement();
		HTString p_HTString1Pt = new HTString();
		HTString p_HTString2Pt = new HTString();
		HTString p_HTString3Pt = new HTString();
		HTString p_HTString4Pt = new HTString();

		Out:
		{
			p_XMLDocumentPt.Init();

			if( p_XMLDocumentPt.LoadFile( MainActPt.m_ExternalDirFullAbsPathStrPt + "/Stng.xml" ) == 0 )
			{
				String p_InfoStrPt = "从Stng.xml文件读取设置成功。";
				Log.i( MainActPt.m_CurClsNameStrPt, p_InfoStrPt );
				MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ShowLog, p_InfoStrPt );
				Toast.makeText( MainActPt, p_InfoStrPt, Toast.LENGTH_SHORT ).show();
			}
			else
			{
				String p_InfoStrPt = "从Stng.xml文件读取设置失败。";
				Log.e( MainActPt.m_CurClsNameStrPt, p_InfoStrPt );
				MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ShowLog, p_InfoStrPt );
				Toast.makeText( MainActPt, p_InfoStrPt, Toast.LENGTH_SHORT ).show();
				break Out;
			}

			for( p_XMLDocumentPt.FirstChildElement( p_StngXMLElementPt ); p_StngXMLElementPt.m_XMLElementPt != 0; p_StngXMLElementPt.NextSiblingElement( p_StngXMLElementPt ) )
			{
				p_StngXMLElementPt.Name( p_HTString1Pt );
				if( p_HTString1Pt.m_Val.equals( "Stng" ) )
				{
					for( p_StngXMLElementPt.FirstChildElement( p_TmpXMLElement1Pt ); p_TmpXMLElement1Pt.m_XMLElementPt != 0; p_TmpXMLElement1Pt.NextSiblingElement( p_TmpXMLElement1Pt ) )
					{
						p_TmpXMLElement1Pt.Name( p_HTString1Pt );
						if( p_HTString1Pt.m_Val.equals( "Main" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "SrvrUrl" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "ClntLstItem" ) )
								{
									for( p_TmpXMLElement2Pt.FirstChildElement( p_TmpXMLElement3Pt ); p_TmpXMLElement3Pt.m_XMLElementPt != 0; p_TmpXMLElement3Pt.NextSiblingElement( p_TmpXMLElement3Pt ) )
									{
										p_TmpXMLElement3Pt.Name( p_HTString1Pt );
										if( p_HTString1Pt.m_Val.equals( "Prtcl" ) )
										{
											p_TmpXMLElement3Pt.GetText( p_HTString2Pt );
										}
										else if( p_HTString1Pt.m_Val.equals( "RmtNodeName" ) )
										{
											p_TmpXMLElement3Pt.GetText( p_HTString3Pt );
										}
										else if( p_HTString1Pt.m_Val.equals( "RmtNodeSrvc" ) )
										{
											p_TmpXMLElement3Pt.GetText( p_HTString4Pt );
										}
									}
									MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ClntLstAddItem, p_HTString2Pt.m_Val, p_HTString3Pt.m_Val, p_HTString4Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "UseAdoInptTkbkMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoInptTkbkModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoInptTkbkModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseAdoOtptTkbkMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoOtptTkbkModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoOtptTkbkModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseVdoInptTkbkMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoInptTkbkModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoInptTkbkModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseVdoOtptTkbkMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoOtptTkbkModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoOtptTkbkModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoOtptDvc" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Speaker" ) )
									{
										( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseSpeakerRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseHeadsetRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoInptDvc" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "FrontCamere" ) )
									{
										( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseFrontCamereRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseBackCamereRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoInptIsMute" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoInptIsMuteCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoInptIsMuteCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoOtptIsMute" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoOtptIsMuteCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoOtptIsMuteCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoInptIsBlack" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoInptIsBlackCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoInptIsBlackCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoOtptIsBlack" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoOtptIsBlackCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoOtptIsBlackCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsDrawAdoWavfm" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.IsDrawAdoWavfmToSurfaceCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.IsDrawAdoWavfmToSurfaceCkBoxId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SrvrStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "MaxCnctNum" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SrvrStngLyotViewPt.findViewById( R.id.MaxCnctNumEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "ClntStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "XfrMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Ptt" ) )
									{
										( ( RadioButton ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.UsePttRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.UseRtFdRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "MaxCnctTimes" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.MaxCnctTimesEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsReferRmtTkbkModeSetTkbkMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.IsReferRmtTkbkModeSetTkbkModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.IsReferRmtTkbkModeSetTkbkModeCkBoxId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "Stng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "UseWhatEffect" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Low" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectLowRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "Mid" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectMidRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "High" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectHighRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "Super" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectSuperRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectPremiumRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseWhatAecTend" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "EchoCncl" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendEchoCnclRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendDblTalkRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseDebugInfo" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseDebugInfoCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseDebugInfoCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseWhatRecvOtptFrm" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Cntnr" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseCntnrRecvOtptFrmRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAjbRecvOtptFrmRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseFrgndSrvc" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseFrgndSrvcCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseFrgndSrvcCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveStsToTxtFile" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveStsToTxtFileCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveStsToTxtFileCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsPrintLogShowToast" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsPrintLogcatShowToastCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsPrintLogcatShowToastCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseWakeLock" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseWakeLockCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseWakeLockCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "TstNtwkDly" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsTstNtwkDlyCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsTstNtwkDlyCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveAdoVdoInptOtptToAviFile" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoVdoInptOtptToAviFileCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoVdoInptOtptToAviFileCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoSmplRate" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "8000" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate8000RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "16000" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate16000RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "32000" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate32000RdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate48000RdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoFrmLen" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "10" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen10msRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "20" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen30msRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsStartRecordingAfterRead" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsStartRecordingAfterReadCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsStartRecordingAfterReadCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseSystemAecNsAgc" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseWhatAec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "NoAec" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseNoAecRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "SpeexAec" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexAecRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcAecm" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecmRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcAec" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcAec3" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAec3RdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexWebRtcAecRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseWhatNs" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "NoNs" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseNoNsRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "SpeexPrpocsNs" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexPrpocsNsRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcNsx" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcNsxRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcNs" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcNsRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseRNNoiseRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseSpeexPrpocs" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoUseWhatCodec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Pcm" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UsePcmRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "SpeexCodec" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpusCodecRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveAdoInptOtptToWaveFile" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoInptOtptToWaveFileCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoInptOtptToWaveFileCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoSmplRate" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "12" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate12RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "15" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate15RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "24" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate24RdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate30RdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "UseWhatVdoFrmSz" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Prset" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzOtherRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoFrmSzPrset" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "120×160" ) )
									{
										( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 0 );
									}
									else if( p_HTString1Pt.m_Val.equals( "240×320" ) )
									{
										( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 1 );
									}
									else if( p_HTString1Pt.m_Val.equals( "480×640" ) )
									{
										( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 2 );
									}
									else
									{
										( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 3 );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoFrmSzOtherWidth" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzOtherWidthEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoFrmSzOtherHeight" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzOtherHeightEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "ScreenRotate" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Auto" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate0RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "90" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate90RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "180" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate180RdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotate270RdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VdoUseWhatCodec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Yu12" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseYu12RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "OpenH264Codec" ) )
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSystemH264CodecRdBtnId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "AjbStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "AAjbMinNeedBufFrmCnt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMinNeedBufFrmCntEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AAjbMaxNeedBufFrmCnt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMaxNeedBufFrmCntEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AAjbMaxCntuLostFrmCnt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMaxCntuLostFrmCntEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AAjbAdaptSensitivity" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbAdaptSensitivityEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "VAjbMinNeedBufFrmCnt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbMinNeedBufFrmCntEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "VAjbMaxNeedBufFrmCnt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbMaxNeedBufFrmCntEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "VAjbAdaptSensitivity" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbAdaptSensitivityEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SaveStsToTxtFileStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "FullPath" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveStsToTxtFileStngLyotViewPt.findViewById( R.id.SaveStsToTxtFileFullPathEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SaveAdoVdoInptOtptToAviFileStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "FullPath" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileFullPathEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WrBufSzByt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileWrBufSzBytEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "MaxStrmNum" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileMaxStrmNumEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveAdoInpt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoInptCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoInptCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveAdoOtpt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoOtptCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoOtptCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveVdoInpt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoInptCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoInptCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveVdoOtpt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoOtptCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoOtptCkBoxId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SpeexAecStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "FilterLenMsec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseRec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "EchoMutp" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "EchoCntu" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "EchoSupes" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "EchoSupesAct" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "WebRtcAecmStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "IsUseCNGMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "EchoMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "Delay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "WebRtcAecStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "EchoMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "Delay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseDelayAgstcMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseExtdFilterMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseRefinedFilterAdaptAecMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseAdaptAdjDelay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "WebRtcAec3Stng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "Delay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SpeexWebRtcAecStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "WorkMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "SpeexAecWebRtcAecm" ) )
									{
										( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcAecmWebRtcAec" ) )
									{
										( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeWebRtcAecmWebRtcAecRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "SpeexAecWebRtcAecmWebRtcAec" ) )
									{
										( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAecRdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "WebRtcAecmWebRtcAec3" ) )
									{
										( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeWebRtcAecmWebRtcAec3RdBtnId ) ).setChecked( true );
									}
									else if( p_HTString1Pt.m_Val.equals( "SpeexAecWebRtcAecmWebRtcAec3" ) )
									{
										( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAec3RdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexAecFilterLenMsec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexAecIsUseRec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexAecEchoMutp" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexAecEchoCntu" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexAecEchoSupes" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexAecEchoSupesAct" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecmIsUseCNGMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecmEchoMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecmDelay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecEchoMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecDelay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecIsUseDelayAgstcMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecIsUseExtdFilterMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecIsUseRefinedFilterAdaptAecMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAecIsUseAdaptAdjDelay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "WebRtcAec3Delay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseSameRoomAec" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "SameRoomEchoMinDelay" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SpeexPrpocsNsStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "IsUseNs" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "NoiseSupes" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseDereverb" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "WebRtcNsxStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "PolicyMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "WebRtcNsStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "PolicyMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SpeexPrpocsStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "IsUseVad" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "VadProbStart" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "VadProbCntu" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsUseAgc" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AgcLevel" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AgcIncrement" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AgcDecrement" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AgcMaxGain" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SpeexCodecStng" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "SpeexEncdUseCbrOrVbr" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "Cbr" ) )
									{
										( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseCbrRdBtnId ) ).setChecked( true );
									}
									else
									{
										( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseVbrRdBtnId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexEncdQualt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexEncdCmplxt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexEncdPlcExptLossRate" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SpeexDecdIsUsePrcplEnhsmt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( true );
									}
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SaveAdoInptOtptToWaveFile" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "IsSaveAdoInpt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoInptCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoInptCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoInptSrcFullPath" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoInptSrcFullPathEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoInptRsltFullPath" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoInptRsltFullPathEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "IsSaveAdoOtpt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									if( p_HTString1Pt.m_Val.equals( "0" ) )
									{
										( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoOtptCkBoxId ) ).setChecked( false );
									}
									else
									{
										( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoOtptCkBoxId ) ).setChecked( true );
									}
								}
								else if( p_HTString1Pt.m_Val.equals( "AdoOtptSrcFullPath" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoOtptSrcFullPathEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "WrBufSzByt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileWrBufSzBytEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "OpenH264Codec" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "OpenH264EncdVdoType" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "OpenH264EncdEncdBitrate" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "OpenH264EncdEncdBitrateCtrlMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "OpenH264EncdIDRFrmIntvl" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "OpenH264EncdCmplxt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
						else if( p_HTString1Pt.m_Val.equals( "SystemH264Codec" ) )
						{
							for( p_TmpXMLElement1Pt.FirstChildElement( p_TmpXMLElement2Pt ); p_TmpXMLElement2Pt.m_XMLElementPt != 0; p_TmpXMLElement2Pt.NextSiblingElement( p_TmpXMLElement2Pt ) )
							{
								p_TmpXMLElement2Pt.Name( p_HTString1Pt );
								if( p_HTString1Pt.m_Val.equals( "SystemH264EncdEncdBitrate" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SystemH264EncdBitrateCtrlMode" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SystemH264EncdIDRFrmIntvl" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
								else if( p_HTString1Pt.m_Val.equals( "SystemH264EncdCmplxt" ) )
								{
									p_TmpXMLElement2Pt.GetText( p_HTString1Pt );
									( ( EditText ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).setText( p_HTString1Pt.m_Val );
								}
							}
						}
					}
				}
			}
		}

		p_XMLDocumentPt.Dstoy();
	}

	//删除设置Xml文件。
	public static void DelStngXmlFile( MainAct MainActPt )
	{
		String p_StngXmlFileFullPathStrPt = MainActPt.m_ExternalDirFullAbsPathStrPt + "/Stng.xml";
		File file = new File( p_StngXmlFileFullPathStrPt );
		if( file.delete() )
		{
			String p_InfoStrPt = "删除设置文件Stng.xml成功。";
			Log.i( MainActPt.m_CurClsNameStrPt, p_InfoStrPt );
			MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ShowLog, p_InfoStrPt );
			Toast.makeText( MainActPt, p_InfoStrPt, Toast.LENGTH_SHORT ).show();
		}
		else
		{
			String p_InfoStrPt = "删除设置文件Stng.xml失败。";
			Log.e( MainActPt.m_CurClsNameStrPt, p_InfoStrPt );
			MainActPt.SendMainActMsg( MainAct.MainActMsgTyp.ShowLog, p_InfoStrPt );
			Toast.makeText( MainActPt, p_InfoStrPt, Toast.LENGTH_SHORT ).show();
		}
	}

	//重置设置。
	public static void ResetStng( MainAct MainActPt )
	{
		//设置服务端。
		( ( EditText ) MainActPt.m_SrvrStngLyotViewPt.findViewById( R.id.MaxCnctNumEdTxtId ) ).setText( "10" );

		//设置客户端。
		( ( RadioButton ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.UseRtFdRdBtnId ) ).performClick();
		( ( EditText ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.MaxCnctTimesEdTxtId ) ).setText( "5" );
		( ( CheckBox ) MainActPt.m_ClntStngLyotViewPt.findViewById( R.id.IsReferRmtTkbkModeSetTkbkModeCkBoxId ) ).setChecked( true );

		//设置服务端Url组合框和客户端Url组合框的内容。
		try
		{
			ArrayList< String > p_UrlList = new ArrayList< String >();

			//设置Url列表。
			p_UrlList.add( "" );
			for( Enumeration<NetworkInterface> p_EnumNtwkIntfc = NetworkInterface.getNetworkInterfaces(); p_EnumNtwkIntfc.hasMoreElements(); ) //遍历所有的网络接口设备。
			{
				NetworkInterface clNetworkInterface = p_EnumNtwkIntfc.nextElement();
				for( Enumeration<InetAddress> p_EnumIpAddr = clNetworkInterface.getInetAddresses(); p_EnumIpAddr.hasMoreElements(); ) //遍历该网络接口设备所有的IP地址。
				{
					InetAddress p_InetAddr = p_EnumIpAddr.nextElement();
					if( ( !p_InetAddr.isLoopbackAddress() ) && ( p_InetAddr.getAddress().length == 4 ) ) //如果该IP地址不是回环地址，且是IPv4的。
					{
						p_UrlList.add( "Tcp://" + p_InetAddr.getHostAddress() + ":12345" );
						p_UrlList.add( "Audp://" + p_InetAddr.getHostAddress() + ":12345" );
					}
				}
			}
			p_UrlList.add( "Tcp://0.0.0.0:12345" );
			p_UrlList.add( "Audp://0.0.0.0:12345" );
			p_UrlList.add( "Tcp://127.0.0.1:12345" );
			p_UrlList.add( "Audp://127.0.0.1:12345" );
			for( Enumeration<NetworkInterface> p_EnumNtwkIntfc = NetworkInterface.getNetworkInterfaces(); p_EnumNtwkIntfc.hasMoreElements(); ) //遍历所有的网络接口设备。
			{
				NetworkInterface clNetworkInterface = p_EnumNtwkIntfc.nextElement();
				for( Enumeration<InetAddress> p_EnumIpAddr = clNetworkInterface.getInetAddresses(); p_EnumIpAddr.hasMoreElements(); ) //遍历该网络接口设备所有的IP地址。
				{
					InetAddress p_InetAddr = p_EnumIpAddr.nextElement();
					if( ( !p_InetAddr.isLoopbackAddress() ) && ( p_InetAddr.getAddress().length != 4 ) ) //如果该IP地址不是回环地址，且是IPv6的。
					{
						p_UrlList.add( "Tcp://[" + p_InetAddr.getHostAddress() + "]:12345" );
						p_UrlList.add( "Audp://[" + p_InetAddr.getHostAddress() + "]:12345" );
					}
				}
			}
			p_UrlList.add( "Tcp://[::]:12345" );
			p_UrlList.add( "Audp://[::]:12345" );
			p_UrlList.add( "Tcp://[::1]:12345" );
			p_UrlList.add( "Audp://[::1]:12345" );
			p_UrlList.add( "" );

			//设置下拉框的内容。
			ArrayAdapter< String > p_UrlAdapter = new ArrayAdapter< String >( MainActPt, android.R.layout.simple_spinner_dropdown_item, p_UrlList );
			( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlSpinnerId ) ).setAdapter( p_UrlAdapter );
			( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlSpinnerId ) ).setOnItemSelectedListener( new AdapterView.OnItemSelectedListener() //设置服务端Url的Spinner控件的选择监听器。
			{
				@Override
				public void onItemSelected( AdapterView< ? > parent, View view, int position, long id )
				{
					if( position != 0 )
					{
						( ( EditText ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlEdTxtId ) ).setText( ( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlSpinnerId ) ).getSelectedItem().toString() );
						( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlSpinnerId ) ).setSelection( 0 );
					}
				}

				@Override
				public void onNothingSelected( AdapterView< ? > parent )
				{

				}
			} );
			( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.ClntSrvrUrlSpinnerId ) ).setAdapter( p_UrlAdapter );
			( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.ClntSrvrUrlSpinnerId ) ).setOnItemSelectedListener( new AdapterView.OnItemSelectedListener() //设置客户端的服务端Url的Spinner控件的选择监听器。
			{
				@Override
				public void onItemSelected( AdapterView< ? > parent, View view, int position, long id )
				{
					if( position != 0 )
					{
						( ( EditText ) MainActPt.m_MainLyotViewPt.findViewById( R.id.ClntSrvrUrlEdTxtId ) ).setText( ( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.ClntSrvrUrlSpinnerId ) ).getSelectedItem().toString() );
						( ( Spinner ) MainActPt.m_MainLyotViewPt.findViewById( R.id.ClntSrvrUrlSpinnerId ) ).setSelection( 0 );
					}
				}

				@Override
				public void onNothingSelected( AdapterView< ? > parent )
				{

				}
			} );

			//设置默认选择项。
			( ( EditText ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SrvrUrlEdTxtId ) ).setText( p_UrlList.get( 2 ) ); //设置服务端Url编辑框默认选择第第二个Audp协议的Url。
			( ( EditText ) MainActPt.m_MainLyotViewPt.findViewById( R.id.ClntSrvrUrlEdTxtId ) ).setText( p_UrlList.get( 2 ) ); //默认客户端Url编辑框默认选择第第二个Audp协议的Url。
		}
		catch( SocketException ignored )
		{
		}

		//设置使用什么对讲模式。
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoInptTkbkModeCkBoxId ) ).setChecked( true );
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseAdoOtptTkbkModeCkBoxId ) ).setChecked( true );
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoInptTkbkModeCkBoxId ) ).setChecked( false );
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseVdoOtptTkbkModeCkBoxId ) ).setChecked( false );

		//设置音频输入出是否静音、视频输入输出是否黑屏。
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoInptIsMuteCkBoxId ) ).setChecked( false );
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.AdoOtptIsMuteCkBoxId ) ).setChecked( false );
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoInptIsBlackCkBoxId ) ).setChecked( false );
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.VdoOtptIsBlackCkBoxId ) ).setChecked( false );

		//设置音频输出设备、视频输入设备。
		( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseSpeakerRdBtnId ) ).performClick();
		( ( RadioButton ) MainActPt.m_MainLyotViewPt.findViewById( R.id.UseFrontCamereRdBtnId ) ).performClick();

		//设置是否绘制音频波形到Surface。
		( ( CheckBox ) MainActPt.m_MainLyotViewPt.findViewById( R.id.IsDrawAdoWavfmToSurfaceCkBoxId ) ).setChecked( false );

		//设置系统音频输出音量拖动条。
		{
			SeekBar p_AdoOtptVolumePt = ( SeekBar ) MainActPt.m_MainLyotViewPt.findViewById( R.id.SystemAdoOtptVolmSkBarId ); //获取系统音频输出音量拖动条的指针。
			AudioManager p_AudioManagerPt = ( AudioManager ) MainActPt.getSystemService( Context.AUDIO_SERVICE ); //获取音频服务的指针。

			p_AdoOtptVolumePt.setMax( p_AudioManagerPt.getStreamMaxVolume( AudioManager.STREAM_VOICE_CALL ) ); //设置系统音频输出音量拖动条的最大值。
			p_AdoOtptVolumePt.setProgress( p_AudioManagerPt.getStreamVolume( AudioManager.STREAM_VOICE_CALL ) ); //设置系统音频输出音量拖动条的当前值。

			//设置系统音频输出音量拖动条变化消息监听器。
			p_AdoOtptVolumePt.setOnSeekBarChangeListener( new SeekBar.OnSeekBarChangeListener()
			{
				@Override public void onProgressChanged( SeekBar seekBar, int progress, boolean fromUser )
				{
					( ( AudioManager ) MainActPt.getSystemService( Context.AUDIO_SERVICE ) ).setStreamVolume( AudioManager.STREAM_VOICE_CALL, progress, AudioManager.FLAG_PLAY_SOUND );
					p_AdoOtptVolumePt.setProgress( p_AudioManagerPt.getStreamVolume( AudioManager.STREAM_VOICE_CALL ) );
				}

				@Override public void onStartTrackingTouch( SeekBar seekBar )
				{

				}

				@Override public void onStopTrackingTouch( SeekBar seekBar )
				{

				}
			} );

			//设置系统音量变化消息监听器。
			IntentFilter p_VolumeChangedActionIntentFilterPt = new IntentFilter();
			p_VolumeChangedActionIntentFilterPt.addAction( "android.media.VOLUME_CHANGED_ACTION" );
			MainActPt.registerReceiver( new BroadcastReceiver()
										{
											@Override public void onReceive( Context context, Intent intent )
											{
												p_AdoOtptVolumePt.setProgress( p_AudioManagerPt.getStreamVolume( AudioManager.STREAM_VOICE_CALL ) );
											}
										},
										p_VolumeChangedActionIntentFilterPt );
		}

		//设置设置。
		{
			//设置一般设置。
			( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAjbRecvOtptFrmRdBtnId ) ).performClick();
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseFrgndSrvcCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseWakeLockCkBoxId ) ).setChecked( true );

			//设置音频。
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsStartRecordingAfterReadCkBoxId ) ).setChecked( false );

			//设置视频帧的大小。
			{
				ArrayList< String > p_VdoFrmSzList = new ArrayList< String >();
				p_VdoFrmSzList.add( "120×160" );
				p_VdoFrmSzList.add( "240×320" );
				p_VdoFrmSzList.add( "480×640" );
				p_VdoFrmSzList.add( "960×1280" );
				ArrayAdapter< String > p_VdoFrmSzAdapter = new ArrayAdapter< String >( MainActPt, android.R.layout.simple_spinner_dropdown_item, p_VdoFrmSzList );
				( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setAdapter( p_VdoFrmSzAdapter );

				( ( EditText ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzOtherWidthEdTxtId ) ).setText( "640" );
				( ( EditText ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzOtherHeightEdTxtId ) ).setText( "480" );
			}

			//设置自适应抖动缓冲器。
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMinNeedBufFrmCntEdTxtId ) ).setText( "5" );
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMaxNeedBufFrmCntEdTxtId ) ).setText( "20" );
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbMaxCntuLostFrmCntEdTxtId ) ).setText( "20" );
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.AAjbAdaptSensitivityEdTxtId ) ).setText( "1.0" );
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbMinNeedBufFrmCntEdTxtId ) ).setText( "3" );
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbMaxNeedBufFrmCntEdTxtId ) ).setText( "24" );
			( ( EditText ) MainActPt.m_AjbStngLyotViewPt.findViewById( R.id.VAjbAdaptSensitivityEdTxtId ) ).setText( "1.0" );

			//设置保存状态到Txt文件。
			( ( EditText ) MainActPt.m_SaveStsToTxtFileStngLyotViewPt.findViewById( R.id.SaveStsToTxtFileFullPathEdTxtId ) ).setText( "Sts.txt" );

			//设置保存音视频输入输出到Avi文件。
			( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileFullPathEdTxtId ) ).setText( "AdoVdoInptOtpt.avi" );
			( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileWrBufSzBytEdTxtId ) ).setText( "8192" );
			( ( EditText ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileMaxStrmNumEdTxtId ) ).setText( "10" );
			( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoInptCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveAdoOtptCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoInptCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_SaveAdoVdoInptOtptToAviFileStngLyotViewPt.findViewById( R.id.SaveAdoVdoInptOtptToAviFileIsSaveVdoOtptCkBoxId ) ).setChecked( true );

			//设置保存音频输入输出到Wave文件。
			( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoInptCkBoxId ) ).setChecked( true );
			( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoInptSrcFullPathEdTxtId ) ).setText( "AdoInptSrc.wav" );
			( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoInptRsltFullPathEdTxtId ) ).setText( "AdoInptRslt.wav" );
			( ( CheckBox ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileIsSaveAdoOtptCkBoxId ) ).setChecked( true );
			( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileAdoOtptSrcFullPathEdTxtId ) ).setText( "AdoOtptSrc.wav" );
			( ( EditText ) MainActPt.m_SaveAdoInptOtptToWaveFileStngLyotViewPt.findViewById( R.id.SaveAdoInptOtptToWaveFileWrBufSzBytEdTxtId ) ).setText( "8192" );

			//设置预设设置。最后设置预设设置，因为有些选项是前面生成的。
			( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectSuperRdBtnId ) ).setChecked( true );
			( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendEchoCnclRdBtnId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseDebugInfoCkBoxId ) ).setChecked( true );
			SetEffectAecTendStng( MainActPt );
		}
	}

	//设置效果等级和声学回音消除倾向设置。
	public static void SetEffectAecTendStng( MainAct MainActPt )
	{
		int p_UseWhatEffect = 0;
		int p_UseWhatAecTend = 0;

		if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectLowRdBtnId ) ).isChecked() ) p_UseWhatEffect = 0; //效果等级：低。
		else if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectMidRdBtnId ) ).isChecked() ) p_UseWhatEffect = 1; //效果等级：中。
		else if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectHighRdBtnId ) ).isChecked() ) p_UseWhatEffect = 2; //效果等级：高。
		else if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectSuperRdBtnId ) ).isChecked() ) p_UseWhatEffect = 3; //效果等级：超。
		else if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseEffectPremiumRdBtnId ) ).isChecked() ) p_UseWhatEffect = 4; //效果等级：特。

		if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendEchoCnclRdBtnId ) ).isChecked() ) p_UseWhatAecTend = 0; //声学回音消除倾向：消除彻底，双讲吃音。
		else if( ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAecTendDblTalkRdBtnId ) ).isChecked() ) p_UseWhatAecTend = 1; //声学回音消除倾向：双讲流畅，残余回音。

		switch( p_UseWhatEffect )
		{
			case 0: //效果等级：低。
			{
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate8000RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( true );
				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecmRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexPrpocsNsRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate12RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).setChecked( true );
				( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 0 );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).setText( "3.0" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).setText( "0.65" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );

				( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).setText( "0" );

				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmRdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).setText( "1.0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).setText( "0.6" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).setText( "380" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).setText( "3" );

				( ( TextView ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).setText( "3" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).setText( "95" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).setText( "95" );
				if( p_UseWhatAecTend == 0 ) ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).setText( "20000" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).setText( "10" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).setText( "-200" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).setText( "20" );

				( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseCbrRdBtnId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).setText( "1" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).setText( "1" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).setText( "1" ); //影响比特率。
				( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).setText( "10" ); //影响比特率。
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).setText( "3" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).setText( "12" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).setText( "10" ); //影响比特率。
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).setText( "0" );

				break;
			}
			case 1: //效果等级：中。
			{
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate16000RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( true );
				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAec3RdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcNsxRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate15RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).setChecked( true );
				( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 1 );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).setText( "3.0" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).setText( "0.65" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );

				( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).setText( "0" );

				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeWebRtcAecmWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeWebRtcAecmWebRtcAec3RdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).setText( "1.0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).setText( "0.6" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).setText( "380" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).setText( "3" );

				( ( TextView ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).setText( "3" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).setText( "95" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).setText( "95" );
				if( p_UseWhatAecTend == 0 ) ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).setText( "20000" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).setText( "10" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).setText( "-200" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).setText( "20" );

				( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseCbrRdBtnId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).setText( "4" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).setText( "4" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).setText( "40" ); //影响比特率。
				( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).setText( "20" ); //影响比特率。
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).setText( "3" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).setText( "15" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).setText( "20" ); //影响比特率。
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).setText( "1" );

				break;
			}
			case 2: //效果等级：高。
			{
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate16000RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( true );
				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcAec3RdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseWebRtcNsRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate15RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).setChecked( true );
				( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 2 );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).setText( "3.0" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).setText( "0.65" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );

				( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).setText( "0" );

				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAec3RdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).setText( "1.0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).setText( "0.6" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).setText( "380" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).setText( "3" );

				( ( TextView ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).setText( "3" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).setText( "95" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).setText( "95" );
				if( p_UseWhatAecTend == 0 ) ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).setText( "20000" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).setText( "10" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).setText( "-200" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).setText( "20" );

				( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseVbrRdBtnId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).setText( "8" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).setText( "8" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).setText( "80" ); //影响比特率。
				( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).setText( "40" ); //影响比特率。
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).setText( "3" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).setText( "15" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).setText( "40" ); //影响比特率。
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).setText( "2" );

				break;
			}
			case 3: //效果等级：超。
			{
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate16000RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( true );
				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseRNNoiseRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate24RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).setChecked( true );
				( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 2 );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).setText( "3.0" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).setText( "0.65" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );

				( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).setText( "0" );

				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAec3RdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).setText( "1.0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).setText( "0.6" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).setText( "380" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).setText( "3" );

				( ( TextView ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).setText( "3" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).setText( "95" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).setText( "95" );
				if( p_UseWhatAecTend == 0 ) ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).setText( "20000" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).setText( "10" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).setText( "-200" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).setText( "20" );

				( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseVbrRdBtnId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).setText( "10" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).setText( "10" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).setText( "100" ); //影响比特率。
				( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).setText( "60" ); //影响比特率。
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).setText( "3" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).setText( "24" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).setText( "1" );

				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).setText( "60" ); //影响比特率。
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).setText( "2" );

				break;
			}
			case 4: //效果等级：特。
			{
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoSmplRate32000RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseAdoFrmLen20msRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSystemAecNsAgcCkBoxId ) ).setChecked( true );
				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseRNNoiseRdBtnId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseSpeexPrpocsCkBoxId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseSpeexCodecRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoSmplRate30RdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseVdoFrmSzPrsetRdBtnId ) ).setChecked( true );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseScreenRotateAutoRdBtnId ) ).setChecked( true );
				( ( Spinner ) MainActPt.m_StngLyotViewPt.findViewById( R.id.VdoFrmSzPrsetSpinnerId ) ).setSelection( 3 );
				( ( RadioButton ) MainActPt.m_StngLyotViewPt.findViewById( R.id.UseOpenH264CodecRdBtnId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoMutpEdTxtId ) ).setText( "3.0" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoCntuEdTxtId ) ).setText( "0.65" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexAecStngLyotViewPt.findViewById( R.id.SpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );

				( ( CheckBox ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_WebRtcAecmStngLyotViewPt.findViewById( R.id.WebRtcAecmDelayEdTxtId ) ).setText( "0" );

				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_WebRtcAecStngLyotViewPt.findViewById( R.id.WebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcAec3StngLyotViewPt.findViewById( R.id.WebRtcAec3DelayEdTxtId ) ).setText( "0" );

				if( p_UseWhatAecTend == 0 ) ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAecRdBtnId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( RadioButton ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWorkModeSpeexAecWebRtcAecmWebRtcAec3RdBtnId ) ).setChecked( true ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecFilterLenMsecEdTxtId ) ).setText( "500" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecIsUseRecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoMutpEdTxtId ) ).setText( "1.0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoCntuEdTxtId ) ).setText( "0.6" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesEdTxtId ) ).setText( "-32768" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSpeexAecEchoSupesActEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmIsUseCNGModeCkBoxId ) ).setChecked( false );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmEchoModeEdTxtId ) ).setText( "4" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecmDelayEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecEchoModeEdTxtId ) ).setText( "2" );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecDelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseDelayAgstcModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseExtdFilterModeCkBoxId ) ).setChecked( true );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseRefinedFilterAdaptAecModeCkBoxId ) ).setChecked( false );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAecIsUseAdaptAdjDelayCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecWebRtcAec3DelayEdTxtId ) ).setText( "0" );
				( ( CheckBox ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecIsUseSameRoomAecCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexWebRtcAecStngLyotViewPt.findViewById( R.id.SpeexWebRtcAecSameRoomEchoMinDelayEdTxtId ) ).setText( "380" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseNsCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsNoiseSupesEdTxtId ) ).setText( "-32768" );
				( ( CheckBox ) MainActPt.m_SpeexPrpocsNsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseDereverbCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_WebRtcNsxStngLyotViewPt.findViewById( R.id.WebRtcNsxPolicyModeEdTxtId ) ).setText( "3" );

				( ( TextView ) MainActPt.m_WebRtcNsStngLyotViewPt.findViewById( R.id.WebRtcNsPolicyModeEdTxtId ) ).setText( "3" );

				( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseVadCkBoxId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbStartEdTxtId ) ).setText( "95" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsVadProbCntuEdTxtId ) ).setText( "95" );
				if( p_UseWhatAecTend == 0 ) ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( true ); //声学回音消除倾向：消除彻底，双讲吃音。
				else ( ( CheckBox ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsIsUseAgcCkBoxId ) ).setChecked( false ); //声学回音消除倾向：双讲流畅，残余回音。
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcLevelEdTxtId ) ).setText( "20000" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcIncrementEdTxtId ) ).setText( "10" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcDecrementEdTxtId ) ).setText( "-200" );
				( ( TextView ) MainActPt.m_SpeexPrpocsStngLyotViewPt.findViewById( R.id.SpeexPrpocsAgcMaxGainEdTxtId ) ).setText( "20" );

				( ( RadioButton ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdUseVbrRdBtnId ) ).setChecked( true );
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdQualtEdTxtId ) ).setText( "10" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdCmplxtEdTxtId ) ).setText( "10" ); //影响比特率。
				( ( TextView ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexEncdPlcExptLossRateEdTxtId ) ).setText( "100" ); //影响比特率。
				( ( CheckBox ) MainActPt.m_SpeexCodecStngLyotViewPt.findViewById( R.id.SpeexDecdIsUsePrcplEnhsmtCkBoxId ) ).setChecked( true );

				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdVdoTypeEdTxtId ) ).setText( "0" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdEncdBitrateEdTxtId ) ).setText( "80" ); //影响比特率。
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdBitrateCtrlModeEdTxtId ) ).setText( "3" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdIDRFrmIntvlEdTxtId ) ).setText( "30" );
				( ( TextView ) MainActPt.m_OpenH264CodecStngLyotViewPt.findViewById( R.id.OpenH264EncdCmplxtEdTxtId ) ).setText( "2" );

				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdEncdBitrateEdTxtId ) ).setText( "80" ); //影响比特率。
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdBitrateCtrlModeEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdIDRFrmIntvlEdTxtId ) ).setText( "1" );
				( ( TextView ) MainActPt.m_SystemH264CodecStngLyotViewPt.findViewById( R.id.SystemH264EncdCmplxtEdTxtId ) ).setText( "2" );

				break;
			}
		}
	}

	//设置调试信息设置。
	public static void SetDebugInfoStng( MainAct MainActPt )
	{
		int p_IsUseDebugInfo = 0;

		if( ( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsUseDebugInfoCkBoxId ) ).isChecked() ) p_IsUseDebugInfo = 1;

		if( p_IsUseDebugInfo != 0 ) //如果要使用调试信息。
		{
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveStsToTxtFileCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsPrintLogcatShowToastCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsTstNtwkDlyCkBoxId ) ).setChecked( true );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoVdoInptOtptToAviFileCkBoxId ) ).setChecked( true );

			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoInptOtptToWaveFileCkBoxId ) ).setChecked( true );
		}
		else //如果不使用调试信息。
		{
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveStsToTxtFileCkBoxId ) ).setChecked( false );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsPrintLogcatShowToastCkBoxId ) ).setChecked( false );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsTstNtwkDlyCkBoxId ) ).setChecked( false );
			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoVdoInptOtptToAviFileCkBoxId ) ).setChecked( false );

			( ( CheckBox ) MainActPt.m_StngLyotViewPt.findViewById( R.id.IsSaveAdoInptOtptToWaveFileCkBoxId ) ).setChecked( false );
		}
	}
}
